while read line;
do
    if [ -n "$line" ] && [ "${line}" = "export LANG" ]
    then
    {
        echo "export GRID_AGENT_LABEL" >> $ADE_VIEW_ROOT/empp/env_file
        break 2
    }
    fi
done
